import { createStore } from 'vuex';
import mutations from './mutations';
import storage from '../utils/storage';

const state = {
  userInfo: '' || storage.getItem('userInfo'),
  managelist: '' || storage.getItem('managelist'),
  indexList: '' || storage.getItem('indexList'),
};
export default createStore({
  state,
  mutations,
});
